package org.springside.examples.showcase.wb.entity;

import java.util.List;

/**
 * 
 * @author zhang.youlei@gmail.com
 */
public class KvNode {
	private String id;
	private String key;
	private String keyAlias;
	private int value;
	private String info;
	private Object attachObj;
	private List relations;
	private KvNode parentNode;
	private int relationWeight;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Object getAttachObj() {
		return attachObj;
	}

	public void setAttachObj(Object attachObj) {
		this.attachObj = attachObj;
	}

	public List getRelations() {
		return relations;
	}

	public void setRelations(List relations) {
		this.relations = relations;
	}

	public KvNode getParentNode() {
		return parentNode;
	}

	public void setParentNode(KvNode parentNode) {
		this.parentNode = parentNode;
	}

	public int getRelationWeight() {
		return relationWeight;
	}

	public void setRelationWeight(int relationWeight) {
		this.relationWeight = relationWeight;
	}

	public String getKeyAlias() {
		return keyAlias;
	}

	public void setKeyAlias(String keyAlias) {
		this.keyAlias = keyAlias;
	}

}